<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport"
          content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no"/>
    <title>物流详情</title>
    <link rel="stylesheet" type="text/css" href="../../css/aui.css"/>
    <link rel="stylesheet" type="text/css" href="../../css/style.css" />
    <style>
        body {
            font-size: 14px;
        }

        footer.aui-nav {
            z-index: 99999;
        }

        header.aui-bar {
            background: #fff;
        }

        .aui-title {
            color: #000;
        }

        .aui-nav .aui-bar-tab .active .aui-iconfont, .aui-nav .aui-bar-tab .active p {
            color: #327afa !important;
        }

        .active {
            color: #327afa !important;
        }

        .aui-tab-nav li.active {
            color: #327afa;
            border-bottom: 2px #327afa solid;
        }

        .aui-bar .aui-iconfont {
            color: #000;
        }

        .walletInfo {
            position: relative;
            width: 100%;
            overflow: hidden;
            background: #f67b86;
            text-align: left;
            padding: 0 0 15px 15px;
        }

        .walletInfo p {
            font-size: 28px;
            color: #fff;
            line-height: 28px;
        }

        .tixianBtn {
            color: #fff;
            border: 1px solid #fff;
            display: inline-block;
            padding: 12px 22px;
            position: absolute;
            right: 15px;
            top: 25px;
            line-height: 12px;
            border-radius: 5px;
        }

        .wallet_set {
            /*position: absolute;*/
            color: #000;
        }
        .haderTitle li{
            font-size:14px;
        }
    </style>
</head>
<body>
<header class="aui-bar aui-bar-nav aui-border-b">
    <div class="aui-pull-left aui-iconfont aui-icon-left icon-left-coler" tapmode onclick="closeWin()"></div>
    <div class="aui-title">
        物流详情
    </div>

</header>
<footer class="aui-nav" id="aui-footer">


</footer>

</body>
<script type="text/javascript" src="../../script/api.js"></script>
<script type="text/javascript" src="../../script/common.js"></script>
<script type="text/javascript" src="../../script/jquery-1.11.3.js"></script>
<script type="text/javascript">
    var orderId;
    apiready = function () {
        api.parseTapmode();
        orderId = api.pageParam.orderId;
        var header = $api.dom('header');
        $api.fixIos7Bar(header);

        var header_h = $api.offset(header).h;
        var body_h = $api.offset($api.dom('body')).h - header_h;
        api.openFrame({
            name: 'wuliuInfo_frm',
            url: 'http://m.kuaidi100.com/result.jsp?nu='+orderId,
            rect: {
                x: 0,
                y: header_h,
                w: 'auto',
                h: body_h
            },
            bounces: false,
            vScrollBarEnabled: false,
            hScrollBarEnabled: false
        });
        getStorageAll();
        getUserMoney();
    }

    //取得页面切换类型
    function changeCheck(obj) {
        $(obj).parent().find("li").removeClass("active");
        $(obj).addClass("active");
        var type = $(obj).attr('data-status');
        //发送监听
        api.sendEvent({
            name: 'moneyListType',
            extra: {
                type: type
            }
        });
    }
    //获取账户余额
    function getUserMoney() {
        showLoading();
        var data = {
            userName: user_name,
        };
        var url = 'User/userInfo';
        ajaxRequest(url, 'post', data, function (ret, err) {
            if (ret.status == 1) {
                $('#userMoney').text(ret.msg.money);
            } else {
                api.toast({
                    msg: ret.msg,
                    duration: 2000,
                    location: 'bottom'
                });
            }
        });
        hideLoading();
    }
</script>
</html>